Training for electric motor testing